class Solution:
    def findDisappearedNumbers(self, nums: list[int]) -> list[int]:
        res = [_ for _ in range(1, len(nums) + 1)]
        for num in nums:
            res[num - 1] = -1

        return [it for it in res if it != -1]

